<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="ECSHOP v2.7.1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
<meta name="Description" content="<?php echo $this->_var['description']; ?>" />

<title><?php echo $this->_var['page_title']; ?></title>

<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="<?php echo $this->_var['ecs_css_path']; ?>" rel="stylesheet" type="text/css" />
<link href="./js/highslide.css" rel="stylesheet" type="text/css" />

<?php echo $this->smarty_insert_scripts(array('files'=>'common.js,highslide-full.js')); ?>
<script type="text/javascript">
function $id(element) {
  return document.getElementById(element);
}
//切屏--是按钮，_v是内容平台，_h是内容库
function reg(str){
  var bt=$id(str+"_b").getElementsByTagName("h2");
  for(var i=0;i<bt.length;i++){
    bt[i].subj=str;
    bt[i].pai=i;
    bt[i].style.cursor="pointer";
    bt[i].onclick=function(){
      $id(this.subj+"_v").innerHTML=$id(this.subj+"_h").getElementsByTagName("blockquote")[this.pai].innerHTML;
      for(var j=0;j<$id(this.subj+"_b").getElementsByTagName("h2").length;j++){
        var _bt=$id(this.subj+"_b").getElementsByTagName("h2")[j];
        var ison=j==this.pai;
        _bt.className=(ison?"":"h2bg");
      }
    }
  }
  $id(str+"_h").className="none";
  $id(str+"_v").innerHTML=$id(str+"_h").getElementsByTagName("blockquote")[0].innerHTML;
}
function getbase()
{
  document.getElementById('main_1').style.display='block'; 
  document.getElementById('main_2').style.display='none'; 
   document.getElementById('img_1').src = "themes/default/images/title_02.gif";
  document.getElementById('img_2').src = "themes/default/images/title_04.gif";
}
function getsansu()
{
  document.getElementById('main_2').style.display='block'; 
  document.getElementById('main_1').style.display='none'; 
  document.getElementById('img_1').src = "themes/default/images/title_01.gif";
  document.getElementById('img_2').src = "themes/default/images/title_05.gif";
}
</script>
<script type="text/javascript">
	hs.graphicsDir = 'js/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.75;

	// define the restraining box
	hs.useBox = true;
	hs.width = 400;
	hs.height = 400;

	// Add the controlbar
	hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: 1,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});
</script>
</head>
<body>
<?php echo $this->fetch('library/page_header.lbi'); ?>

<div id="mune_1" class="block product_title" style="display: block; ">
  <div class="f_l">
  <img src="themes/default/images/product/<?php echo $this->_var['goods_id']; ?>_logo.gif" width="186" height="31" /></div>
  <div  class="f_r product_title_right">
  <ul>
   <li >
   <a href="javascript:void(null)" onclick="javascript:getbase();" >
   <img src="themes/default/images/title_02.gif" id="img_1"/></a>
   </li>
   <li> <a href="javascript:void(null)" onclick="javascript:getsansu();" >
   <img src="themes/default/images/title_04.gif" id="img_2"/></a>
   </li>
   <li><img src="themes/default/images/title_03.gif" /></li>
  </ul>
  </div>
</div>

<div id="main_1" style="display:block;" class="block hr_main">
   <div class="hr_main_left" style="width:187px;">
     
  <?php $_from = $this->_var['categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'cat');if (count($_from)):
    foreach ($_from AS $this->_var['cat']):
?>
     <div class="hr_main_left_title">
    <?php echo htmlspecialchars($this->_var['cat']['name']); ?>
     </div>
     <div class="hr_main_left_list">
    <ul>
 <?php $_from = $this->_var['cat']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'child');if (count($_from)):
    foreach ($_from AS $this->_var['child']):
?>
      
      <li  <?php if ($this->_var['category'] == $this->_var['child']['id']): ?> class="list_hover" <?php endif; ?>>
      <strong><a href="<?php echo $this->_var['child']['url']; ?>" ><?php echo htmlspecialchars($this->_var['child']['name']); ?></a></strong>
      </li>

     <?php $_from = $this->_var['child']['cat_id']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'cat_id');if (count($_from)):
    foreach ($_from AS $this->_var['cat_id']):
?>

      <li  <?php if ($this->_var['category'] == $this->_var['cat_id']['id']): ?>class="list_hover"<?php endif; ?>>
      <a href="<?php echo $this->_var['cat_id']['url']; ?>" ><?php echo htmlspecialchars($this->_var['cat_id']['name']); ?></a>
      </li>
   <?php if ($this->_var['category'] == $this->_var['cat_id']['id']): ?>
 <li style="height:auto;">
  <?php $_from = $this->_var['goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'good');if (count($_from)):
    foreach ($_from AS $this->_var['good']):
?>

  <div style="padding-left:20px;height:20px;background:#fff;<?php if ($this->_var['goods_id'] == $this->_var['good']['goods_id']): ?>font-weight:700;<?php endif; ?>">

<a href="goods.php?id=<?php echo $this->_var['good']['goods_id']; ?>"><?php echo $this->_var['good']['goods_name']; ?></a>
</div>

<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</li>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
   </ul>
    </div>


    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
   
   
  </div>
  <div class="hr_main_right f_r">
    <div class="aboutus_ad">
    <img src="./<?php echo $this->_var['goods']['original_img']; ?>" width="758" height="437" />
    </div>
    
    
    
    
    <div class="f_l" style="margin-top:20px;">
       <div class="goods_img_list">
         <ul>
            <?php $_from = $this->_var['pictures']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'pic');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['pic']):
?>
           <li>
          <div class="highslide-gallery">
           <a href="./<?php echo $this->_var['pic']['thumb_url']; ?>" class="highslide" onclick="return hs.expand(this)">
           <img src="./<?php echo $this->_var['pic']['thumb_url']; ?>" width="60" height="60" /></a> </div> <div class="highslide-caption" style="display:none;">
	<?php echo $this->_var['key']; ?>
</div></li>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 
         </ul>
       </div>
       <div class="goods_content f_r">
  <?php echo $this->_var['goods']['goods_desc']; ?>
       </div>
    </div>
    
  </div>
</div>

<div id="main_2" class="block" style="display:none;margin:0 auto;font-size:12px;color:#000;">
<table id="Table_01" width="954" height="1110" border="0" cellpadding="0" cellspacing="0">
	<tr>
		
		<td colspan="8" >
        <table id="Table_01" width="954" height="347" border="0" cellpadding="0" cellspacing="0">
	<tr>
		
		<td width="326" rowspan="4" valign="bottom"  style="background:url(themes/default/images/product_cs_02.gif) no-repeat">
        
          <img src="themes/default/images/product/2.gif" width="317" height="283" /></td>
		<td width="202" rowspan="4" valign="top"><table width="202" border="0">
		  <tr>
		    <td height="115" colspan="2">&nbsp;</td>
		    </tr>
		  <tr>
		    <td width="65" rowspan="4"><img src="themes/default/images/product_cs_22.gif" width="55" height="181" /></td>
		    <td width="127" height="38">&nbsp;</td>
		    </tr>
		  <tr>
		    <td height="55"><?php echo $this->_var['sx']['211']['value']; ?></td>
		    </tr>
		  <tr>
		    <td height="45">&nbsp;</td>
		    </tr>
		  <tr>
		    <td>&nbsp;</td>
		    </tr>
		  </table></td>
		<td height="90" colspan="2" background="themes/default/images/product_cs_03.gif">&nbsp;</td>
		<td colspan="2" background="themes/default/images/product_cs_04.gif">
		  <img src="themes/default/images/spacer.gif" width="1" height="90" alt=""></td>
		</tr>
	<tr>
		<td width="12" height="257" rowspan="3" background="themes/default/images/product_cs_05.gif">&nbsp;</td>
		<td width="213" rowspan="3" valign="top" ><?php echo $this->_var['sx']['213']['name']; ?>:<?php echo $this->_var['sx']['213']['value']; ?><br />
            <?php echo $this->_var['sx']['214']['name']; ?>:<?php echo $this->_var['sx']['214']['value']; ?><br /><?php echo $this->_var['sx']['215']['name']; ?>:<?php echo $this->_var['sx']['215']['value']; ?><br />
        </td>
		<td width="10" rowspan="3" background="themes/default/images/product_cs_05.gif">
		  <img src="themes/default/images/spacer.gif" width="1" height="257" alt=""></td>
		<td width="191" rowspan="3" valign="top" ><?php echo $this->_var['sx']['216']['name']; ?>:<?php echo $this->_var['sx']['216']['value']; ?></td>
		</tr>
</table></td>
		<td width="1">
			<img src="themes/default/images/spacer.gif" width="1" height="90" alt=""></td>
	</tr>
	
	
	<tr>
	 
		<td colspan="2">
			<img src="themes/default/images/spacer.gif" width="1" height="25" alt=""></td>
	</tr>
	<tr>
		<td colspan="2">
			<img src="themes/default/images/product_cs_09.gif" width="210" height="88" alt=""></td>
		<td colspan="2">
			<img src="themes/default/images/product_cs_10.gif" width="237" height="88" alt=""></td>
		<td colspan="2">
			<img src="themes/default/images/product_cs_11.gif" width="240" height="88" alt=""></td>
		<td colspan="2">
			<img src="themes/default/images/product_cs_12.gif" width="245" height="88" alt=""></td>
		<td>
			<img src="themes/default/images/spacer.gif" width="1" height="88" alt=""></td>
	</tr>
	<tr>
		<td width="17" background="">&nbsp;</td>
		<td width="225" valign="top" background=""><?php echo $this->_var['sx']['217']['value']; ?></td>
		<td width="13" background="themes/default/images/product_cs_05.gif">&nbsp;</td>
		<td width="228" valign="top" ><ul><li><?php echo $this->_var['sx']['223']['name']; ?>:<?php echo $this->_var['sx']['223']['value']; ?></li><li>
                <?php echo $this->_var['sx']['224']['name']; ?>:<?php echo $this->_var['sx']['224']['value']; ?></li><li><?php echo $this->_var['sx']['225']['name']; ?>:<?php echo $this->_var['sx']['225']['value']; ?></li>
                 <li>
               <?php echo $this->_var['sx']['226']['name']; ?>:<?php echo $this->_var['sx']['226']['value']; ?></li><li><?php echo $this->_var['sx']['227']['name']; ?>:<?php echo $this->_var['sx']['227']['value']; ?></li></ul>



      </td>
		<td width="11" background="themes/default/images/product_cs_05.gif">&nbsp;</td>
		<td width="229" valign="top" ><ul><li><?php echo $this->_var['sx']['228']['name']; ?>:<?php echo $this->_var['sx']['228']['value']; ?></li><li>
                <?php echo $this->_var['sx']['229']['name']; ?>:<?php echo $this->_var['sx']['229']['value']; ?></li><li><?php echo $this->_var['sx']['230']['name']; ?>:<?php echo $this->_var['sx']['230']['value']; ?></li>
                </ul>
</td>
	  <td width="14" background="themes/default/images/product_cs_05.gif">&nbsp;</td>
	  <td width="231" valign="top"><?php echo $this->_var['sx']['231']['value']; ?></td>
		<td>
			<img src="themes/default/images/spacer.gif" width="1" height="303" alt=""></td>
	</tr>
	<tr>
		<td colspan="2"  style=" background:url(themes/default/images/product_cs_14.gif) no-repeat;">&nbsp;</td>
		<td colspan="2">
			<img src="themes/default/images/product_cs_15.gif" width="237" height="75" alt=""></td>
		<td colspan="2">
			<img src="themes/default/images/product_cs_16.gif" width="240" height="75" alt=""></td>
		<td colspan="2" rowspan="4">
			<img src="themes/default/images/product_cs_17.gif" width="245" height="335" alt=""></td>
		<td>
			<img src="themes/default/images/spacer.gif" width="1" height="75" alt=""></td>
	</tr>
	<tr>
	  <td rowspan="3" valign="top"  >&nbsp;</td>
	  <td rowspan="3" valign="top"  ><?php echo $this->_var['sx']['235']['value']; ?></td>
		<td rowspan="3" valign="top" background="themes/default/images/product_cs_19.gif">&nbsp;</td>
		<td rowspan="3" valign="top" background="themes/default/images/product_cs_5.gif"><ul>
<li>
                 <?php echo $this->_var['sx']['238']['name']; ?>:<?php echo $this->_var['sx']['238']['value']; ?></li>
<li>
               <?php echo $this->_var['sx']['239']['name']; ?>:<?php echo $this->_var['sx']['239']['value']; ?></li>
</ul>
</td>
	  <td rowspan="2" valign="top" background="themes/default/images/product_cs_19.gif">&nbsp;</td>
	  <td rowspan="2" valign="top" ><?php echo $this->_var['sx']['240']['name']; ?>:<?php echo $this->_var['sx']['240']['value']; ?></td>
		<td>
			<img src="themes/default/images/spacer.gif" width="1" height="11" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="themes/default/images/spacer.gif" width="1" height="239" alt=""></td>
	</tr>
	<tr>
		<td colspan="2" valign="top">
			<img src="themes/default/images/product_cs_21.gif" width="240" height="10" alt=""></td>
		<td>
			<img src="themes/default/images/spacer.gif" width="1" height="10" alt=""></td>
	</tr>
</table></div>

<div class="blank"></div>
<div class="blank"></div>
<?php echo $this->fetch('library/page_footer.lbi'); ?>
</body>

</html>
